import Vue from "vue";
import VueRouter from "vue-router";
import hr_login from "@/page/hrpages/hr_login.vue";
import hr_register from "@/page/hrpages/hr_register.vue";
import hr_main_page from "@/page/hrpages/hr_main_page.vue";
import user_login from "@/page/userpages/user_login.vue";
import user_register from "@/page/userpages/user_register.vue";
import user_main_page from "@/page/userpages/user_main_page.vue";
import ChatFloat from "@/page/ChatFloat.vue";
Vue.use(VueRouter);
 
const router = new VueRouter({
  
  routes: [
    { path: "/", redirect: "/hr_login" },
    { path: "/hr_login", component: hr_login },
    { path: "/hr_register", component: hr_register },
    { path: "/hr_main_page", component: hr_main_page },
    { path: "/user_login", component: user_login },
    { path: "/user_register", component: user_register },
    { path: "/user_main_page", component: user_main_page },
    { path: "/chat_float", component: ChatFloat },

  
  
   
  ]
});


export default router;